# components.cmake

# component ARM::CMSIS-Compiler:CORE@1.1.0
add_library(ARM_CMSIS-Compiler_CORE_1_1_0 OBJECT
  "${CMSIS_PACK_ROOT}/ARM/CMSIS-Compiler/2.1.0/source/armcc/retarget_io.c"
)
target_include_directories(ARM_CMSIS-Compiler_CORE_1_1_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
)
target_compile_definitions(ARM_CMSIS-Compiler_CORE_1_1_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(ARM_CMSIS-Compiler_CORE_1_1_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(ARM_CMSIS-Compiler_CORE_1_1_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component ARM::CMSIS-Compiler:STDOUT:Custom@1.1.0
add_library(ARM_CMSIS-Compiler_STDOUT_Custom_1_1_0 INTERFACE)
target_include_directories(ARM_CMSIS-Compiler_STDOUT_Custom_1_1_0 INTERFACE
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/ARM/CMSIS-Compiler/2.1.0/include
)
target_compile_definitions(ARM_CMSIS-Compiler_STDOUT_Custom_1_1_0 INTERFACE
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_link_libraries(ARM_CMSIS-Compiler_STDOUT_Custom_1_1_0 INTERFACE
  ${CONTEXT}_ABSTRACTIONS
)

# component ARM::CMSIS:CORE@6.1.0
add_library(ARM_CMSIS_CORE_6_1_0 INTERFACE)
target_include_directories(ARM_CMSIS_CORE_6_1_0 INTERFACE
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/ARM/CMSIS/6.1.0/CMSIS/Core/Include
)
target_compile_definitions(ARM_CMSIS_CORE_6_1_0 INTERFACE
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_link_libraries(ARM_CMSIS_CORE_6_1_0 INTERFACE
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:Libopt@3.3.0
add_library(GigaDevice_Device_Libopt_3_3_0 INTERFACE)
target_include_directories(GigaDevice_Device_Libopt_3_3_0 INTERFACE
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Include
)
target_compile_definitions(GigaDevice_Device_Libopt_3_3_0 INTERFACE
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_link_libraries(GigaDevice_Device_Libopt_3_3_0 INTERFACE
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:Startup@3.3.0
add_library(GigaDevice_Device_Startup_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/startup_gd32f450_470.s"
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/system_gd32f4xx.c"
)
target_include_directories(GigaDevice_Device_Startup_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Include
)
target_compile_definitions(GigaDevice_Device_Startup_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_Startup_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_Startup_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)
set(COMPILE_DEFINITIONS
  GD32F470
  _RTE_
)
cbuild_set_defines(AS_ARM COMPILE_DEFINITIONS)
set_source_files_properties("${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/startup_gd32f450_470.s" PROPERTIES
  COMPILE_FLAGS "${COMPILE_DEFINITIONS}"
)

# component GigaDevice::Device:StdPeripherals:ADC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_ADC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_adc.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_ADC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_ADC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_ADC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_ADC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:CAN@3.3.0
add_library(GigaDevice_Device_StdPeripherals_CAN_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_can.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_CAN_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_CAN_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_CAN_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_CAN_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:CRC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_CRC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_crc.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_CRC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_CRC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_CRC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_CRC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:CTC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_CTC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_ctc.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_CTC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_CTC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_CTC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_CTC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:DAC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_DAC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_dac.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_DAC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_DAC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_DAC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_DAC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:DBG@3.3.0
add_library(GigaDevice_Device_StdPeripherals_DBG_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_dbg.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_DBG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_DBG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_DBG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_DBG_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:DCI@3.3.0
add_library(GigaDevice_Device_StdPeripherals_DCI_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_dci.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_DCI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_DCI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_DCI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_DCI_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:DMA@3.3.0
add_library(GigaDevice_Device_StdPeripherals_DMA_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_dma.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_DMA_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_DMA_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_DMA_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_DMA_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:ENET@3.3.0
add_library(GigaDevice_Device_StdPeripherals_ENET_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_enet.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_ENET_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_ENET_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_ENET_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_ENET_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:EXMC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_EXMC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_exmc.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_EXMC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_EXMC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_EXMC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_EXMC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:EXTI@3.3.0
add_library(GigaDevice_Device_StdPeripherals_EXTI_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_exti.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_EXTI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_EXTI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_EXTI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_EXTI_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:FMC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_FMC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_fmc.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_FMC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_FMC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_FMC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_FMC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:FWDGT@3.3.0
add_library(GigaDevice_Device_StdPeripherals_FWDGT_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_fwdgt.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_FWDGT_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_FWDGT_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_FWDGT_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_FWDGT_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:GPIO@3.3.0
add_library(GigaDevice_Device_StdPeripherals_GPIO_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_gpio.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_GPIO_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_GPIO_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_GPIO_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_GPIO_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:I2C@3.3.0
add_library(GigaDevice_Device_StdPeripherals_I2C_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_i2c.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_I2C_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_I2C_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_I2C_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_I2C_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:IPA@3.3.0
add_library(GigaDevice_Device_StdPeripherals_IPA_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_ipa.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_IPA_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_IPA_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_IPA_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_IPA_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:IREF@3.3.0
add_library(GigaDevice_Device_StdPeripherals_IREF_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_iref.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_IREF_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_IREF_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_IREF_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_IREF_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:MISC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_MISC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_misc.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_MISC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_MISC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_MISC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_MISC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:PMU@3.3.0
add_library(GigaDevice_Device_StdPeripherals_PMU_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_pmu.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_PMU_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_PMU_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_PMU_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_PMU_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:RCU@3.3.0
add_library(GigaDevice_Device_StdPeripherals_RCU_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_rcu.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_RCU_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_RCU_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_RCU_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_RCU_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:RTC@3.3.0
add_library(GigaDevice_Device_StdPeripherals_RTC_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_rtc.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_RTC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_RTC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_RTC_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_RTC_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:SDIO@3.3.0
add_library(GigaDevice_Device_StdPeripherals_SDIO_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_sdio.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_SDIO_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_SDIO_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_SDIO_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_SDIO_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:SPI_I2S@3.3.0
add_library(GigaDevice_Device_StdPeripherals_SPI_I2S_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_spi.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_SPI_I2S_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_SPI_I2S_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_SPI_I2S_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_SPI_I2S_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:SYSCFG@3.3.0
add_library(GigaDevice_Device_StdPeripherals_SYSCFG_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_syscfg.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_SYSCFG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_SYSCFG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_SYSCFG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_SYSCFG_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:TIMER@3.3.0
add_library(GigaDevice_Device_StdPeripherals_TIMER_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_timer.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_TIMER_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_TIMER_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_TIMER_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_TIMER_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:TLI@3.3.0
add_library(GigaDevice_Device_StdPeripherals_TLI_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_tli.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_TLI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_TLI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_TLI_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_TLI_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:TRNG@3.3.0
add_library(GigaDevice_Device_StdPeripherals_TRNG_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_trng.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_TRNG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_TRNG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_TRNG_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_TRNG_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:USART@3.3.0
add_library(GigaDevice_Device_StdPeripherals_USART_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_usart.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_USART_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_USART_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_USART_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_USART_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)

# component GigaDevice::Device:StdPeripherals:WWDGT@3.3.0
add_library(GigaDevice_Device_StdPeripherals_WWDGT_3_3_0 OBJECT
  "${SOLUTION_ROOT}/RTE/Device/GD32F470ZG/gd32f4xx_wwdgt.c"
)
target_include_directories(GigaDevice_Device_StdPeripherals_WWDGT_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
  ${CMSIS_PACK_ROOT}/GigaDevice/GD32F4xx_DFP/3.3.0/Device/F4XX/Firmware/Peripherals/inc
)
target_compile_definitions(GigaDevice_Device_StdPeripherals_WWDGT_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
)
target_compile_options(GigaDevice_Device_StdPeripherals_WWDGT_3_3_0 PUBLIC
  $<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
)
target_link_libraries(GigaDevice_Device_StdPeripherals_WWDGT_3_3_0 PUBLIC
  ${CONTEXT}_ABSTRACTIONS
)
